Skip to content

Remove Extra Space Before "stackTrace" in Error Payload JSON #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

math-hiyoko
Copy link
Contributor

Summery

This PR addresses the issue reported in #197 regarding the unnecessary space found before the "stackTrace" key in the generated JSON error payload. The presence of this space affects the consistency of the JSON formatting without impacting the functionality or parseability of the output. This minor change aims to enhance the readability and the overall quality of the code by maintaining a consistent JSON format.

Changes

The extra space before the "stackTrace" key in the JSON string construction has been removed.

Before

R"(", "stackTrace":[]})";

After

R"(","stackTrace":[]})";

@math-hiyoko math-hiyoko marked this pull request as draft May 14, 2024 16:06
@math-hiyoko math-hiyoko marked this pull request as ready for review May 14, 2024 16:07
@maxday
Copy link

maxday commented Apr 29, 2025

Thanks a lot @math-hiyoko and very sorry about the delay!

@maxday maxday self-requested a review April 29, 2025 10:55
@maxday maxday merged commit 0e99247 into awslabs:master Apr 29, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants